package org.jsbd.boss.domian;
import org.codehaus.jackson.map.annotate.JsonSerialize;import org.jsbd.boss.common.CustomDateTimeSerializer;import org.jsbd.boss.common.DataGridModel;
import java.util.Date;

public class LogStatisticsActionBean{
	
	public static final int ALWAYS=0;
	public static final int ONE_MINITE=1;
	public static final int FIFTEEN_MINITE=2;
	public static final int ONE_HOUR=3;
	public static final int ONE_DAY=4;
	
	public static final int COUNT=1;
	public static final int AVER=2;
	public static final int SUM=3;
	
    private String valueKey;

    private String syncTableName;

    private Date createTime;

    /**
     * 1表示统计条数，2表示根据字段获取平均值，3表示根据字段获取总量值
     */
    private Integer actionType;

    private String modifyTime;

    private String name;

    private Integer interval;

    private Integer id;

    private String actionTableName;
    
    private String conditionKey;

    private Integer status;

    private  DataGridModel pageInfo;



    public String getValueKey() {  
        return valueKey;
    }

    public void setValueKey(String valueKey) {  
        this.valueKey = valueKey;
    }

    public String getSyncTableName() {  
        return syncTableName;
    }

    public void setSyncTableName(String syncTableName) {  
        this.syncTableName = syncTableName;
    }

    @JsonSerialize(using = CustomDateTimeSerializer.class)    
	public Date getCreateTime() {  
        return createTime;
    }

    public void setCreateTime(Date createTime) {  
        this.createTime = createTime;
    }

    public Integer getActionType() {  
        return actionType;
    }

    public void setActionType(Integer actionType) {  
        this.actionType = actionType;
    }

    public String getModifyTime() {  
        return modifyTime;
    }

    public void setModifyTime(String modifyTime) {  
        this.modifyTime = modifyTime;
    }

    public String getName() {  
        return name;
    }

    public void setName(String name) {  
        this.name = name;
    }

    public Integer getInterval() {  
        return interval;
    }

    public void setInterval(Integer interval) {  
        this.interval = interval;
    }

    public Integer getId() {  
        return id;
    }

    public void setId(Integer id) {  
        this.id = id;
    }

    public String getActionTableName() {  
        return actionTableName;
    }

    public void setActionTableName(String actionTableName) {  
        this.actionTableName = actionTableName;
    }

    public String getConditionKey() {  
        return conditionKey;
    }

    public void setConditionKey(String conditionKey) {  
        this.conditionKey = conditionKey;
    }

    public Integer getStatus() {  
        return status;
    }

    public void setStatus(Integer status) {  
        this.status = status;
    }

    public DataGridModel getPageInfo() {  
        return pageInfo;
    }
    public void setPageInfo(DataGridModel pageInfo) {  
        this.pageInfo = pageInfo;
    }
	
}